package com.pubinfo.passbook.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pubinfo.passbook.common.entity.TMdmContract;
import com.pubinfo.passbook.common.entity.TMdmSupplier;
import com.pubinfo.passbook.common.model.dto.MDM.MdmParam;
import com.pubinfo.passbook.common.model.dto.MDM.MdmSapSupplierParam;
import com.pubinfo.passbook.common.model.dto.MDM.SupplierCascadeBankParam;
import com.pubinfo.passbook.common.model.vo.mdm.SupplierCascadeBankVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xuhong
 * @since 2021-10-22
 */
public interface TMdmSupplierMapper extends BaseMapper<TMdmSupplier> {
  IPage<TMdmSupplier> listSupplier(IPage<TMdmSupplier> page, @Param("param") MdmParam param);
  
  IPage<TMdmSupplier> selectMdmSupplier(IPage<TMdmSupplier> page, @Param("param") MdmSapSupplierParam param);
  
  IPage<SupplierCascadeBankVo> selectSupplierCascadeBank(IPage<SupplierCascadeBankVo> page,
                                                         @Param("param") SupplierCascadeBankParam param);
}
